package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 中医入院诊断业务对象 hospital_traditional_diagnosis
 *
 * @author whb
 * @date 2023-02-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TraditionalDiagnosisBo extends BaseEntity {

    /**
     * 中医诊断ID
     */
    // @NotNull(message = "中医诊断ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 病历号
     */
    // @NotNull(message = "病历号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer medicalRecordNo;

    /**
     * 病
     */
    // @NotBlank(message = "病不能为空", groups = { AddGroup.class, EditGroup.class })
    private String illnessName;

    /**
     * 证型
     */
    // @NotBlank(message = "证型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String patternOfSyndrome;

    /**
     * 用途类型（0药历首页 1药历小结）
     */
    // @NotBlank(message = "用途类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String useType;
}
